package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Menu;

import java.util.List;


public interface MenuDao {
    //新增菜单
    public   void  add(Menu  menu);
    //分页查询菜单
    public Page<Menu> selectByCondition(String  queryString);
    //根据id删除菜单
    public   void  deleteById(Integer  id);
    List<Menu> showMenuByPermission(Integer roleId);

    List<Menu> findChildrenById(Integer menuId);
}
